import request from '@/utils/request'

// 查询系统用户人天成本维护列表
export function listSysUserDailyCost(query) {
  return request({
    url: '/maintain/sysUserDailyCost/userList',
    method: 'get',
    params: query
  })
}

// 查询系统用户人天成本维护列表
export function listDailyCost(query) {
  return request({
    url: '/maintain/sysUserDailyCost/list',
    method: 'get',
    params: query
  })
}

// 查询系统用户人天成本维护详细
export function getSysUserDailyCost(id) {
  return request({
    url: '/maintain/sysUserDailyCost/' + id,
    method: 'get'
  })
}

// 批量保存系统用户人天成本维护
export function batchSaveDailCost(list) {
  return request({
    url: '/maintain/sysUserDailyCost/batchSave',
    method: 'post',
    data: list
  })
}

// 保存系统用户人天成本维护
export function saveSysUserDailyCost(data) {
  return request({
    url: '/maintain/sysUserDailyCost/save',
    method: 'post',
    data: data
  })
}

// 删除系统用户人天成本维护
export function delSysUserDailyCost(id) {
  return request({
    url: '/maintain/sysUserDailyCost/' + id,
    method: 'delete'
  })
}

// 导出系统用户人天成本维护
export function exportSysUserDailyCost(query) {
  return request({
    url: '/maintain/sysUserDailyCost/export',
    method: 'get',
    params: query
  })
}
